import React,{ Component } from 'react'
import { View, Text ,Image} from '@tarojs/components'
import logo,{ReactComponent as LogoComp} from './logo.svg';
// import logo from './logo.svg';


import './index.scss'

export default class Index extends Component {

  componentWillMount () { }

  componentDidMount () {
    console.log('logo',logo);

    console.log('LogoComp',LogoComp);


   }

  componentWillUnmount () { }

  componentDidShow () { }

  componentDidHide () { }

  render () {
    return (
      <View className='index'>
        <Text>Hello world!</Text>
        {/* <img src={logo} /> */}
        <Image src={logo} />

        {/* <LogoComp /> */}
      </View>
    )
  }
}
